package com.esteel.settlement.pa.packet;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

import org.hibernate.validator.constraints.Length;
import org.hibernate.validator.constraints.NotEmpty;

/**
 *出金（交易网发起）  应答包：监管系统－>交易网
 */
@XmlRootElement(name="Result") 
@XmlAccessorType(XmlAccessType.FIELD)
public class RspBP1318 extends Answer {

	private static final long serialVersionUID = 7422297116715273017L;
	//前置流水号
	@XmlElement(name = "FrontLogNo")
	@Length(max=14)
	@NotEmpty
    private String frontLogNo;
	//转账手续费
	@XmlElement(name = "HandFee")
	@Length(max=15)
	@NotEmpty
	private String handFee;
	//支付手续费子账户   预留字段，无实际作用
	@XmlElement(name = "FeeOutCustId")
	@Length(max=15)
	@NotEmpty
	private String feeOutCustId;
	
	public String getFrontLogNo() {
		return frontLogNo;
	}

	public void setFrontLogNo(String frontLogNo) {
		this.frontLogNo = frontLogNo;
	}

	public String getHandFee() {
		return handFee;
	}

	public void setHandFee(String handFee) {
		this.handFee = handFee;
	}

	public String getFeeOutCustId() {
		return feeOutCustId;
	}

	public void setFeeOutCustId(String feeOutCustId) {
		this.feeOutCustId = feeOutCustId;
	}

	@Override
	protected String[] order() {
		String[] args={"frontLogNo","handFee","feeOutCustId","reserve"};
		return args;
	}

}
